<!--
 *                        .::::.
 *                      .::::::::.
 *                     :::::::::::
 *                  ..:::::::::::'
 *               '::::::::::::'
 *                 .::::::::::
 *            '::::::::::::::..
 *                 ..::::::::::::.
 *               ``::::::::::::::::
 *                ::::``:::::::::'        .:::.
 *               ::::'   ':::::'       .::::::::.
 *             .::::'      ::::     .:::::::'::::.
 *            .:::'       :::::  .:::::::::' ':::::.
 *           .::'        :::::.:::::::::'      ':::::.
 *          .::'         ::::::::::::::'         ``::::.
 *      ...:::           ::::::::::::'              ``::.
 *     ````':.          ':::::::::'                  ::::..
 *                        '.:::::'                    ':'````..
 *
 * @Author: byx
 * @Date: 2022-08-02 21:15:35
 * @LastEditors: byx
 * @LastEditTime: 2022-10-16 17:53:56
 * @version: 1.0
 * @Descripttion: wwww.byx1024.top
 -->

<template>
  <!-- 一级路由 -->
  <router-view></router-view>
  <!-- 测试确认框提示组件 -->
  <!-- <XtxConfirm /> -->
  <!-- 测试消息提示组件 -->
  <!-- <XtxMessage text="手机号或密码错误" type="error" /> -->
  <!-- 修改数据，测试是否持久化 -->
  <!-- <div class="container">
    App
    {{ $store.state.user.profile.account }}
    <button @click="$store.commit('user/setUser', { account: 'byx' })">设置用户信息</button>
    <button @click="fn">测试发送请求</button>
  </div> -->
</template>
<script>
import request from '@/utils/request'

export default {
  name: 'App',
  setup() {
    const fn = () => {
      request('/member/profile', 'GET', { name: 'byx' })
    }

    return { fn }
  }
}
</script>

<style lang="less"></style>
